package com.qidian.mes.md.mapper;

import com.qidian.mes.pojo.Dict;
import com.qidian.mes.pojo.MdWorkShop;

import java.util.List;

/**
 * @Author 32郗建狄
 * @Company GX631
 * Time 2023/10/30 18:10
 * Description
 */
public interface MdWorkShopMapper {
    /**
     *
     * @param id
     * @return
     */
    MdWorkShop get(Long id);

    /**
     * 分页查询
     * @param mdWorkShop
     * @return
     */
    List<MdWorkShop> list(MdWorkShop mdWorkShop);

    /**
     *
     * @param workshopName
     * @return
     */
//    MdWorkShop getByWorkshopName(String workshopName);
    /**
     *
     * @param mdWorkShop
     * @return
     */
    Integer save(MdWorkShop mdWorkShop);
    Integer delete(Long id);
    Integer deletes(Long[] workshopIds);
    Integer update(MdWorkShop mdWorkShop);
//    Dict selectByDictName(String workshopName);
//    Dict selectByDictId(Long dictId);
}
